Fix to save CPU affinity for xm save/restore
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 14 Nov 2008 14:27:51 +0000 (14:27 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 14 Nov 2008 14:27:51 +0000 (14:27 +0000)
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xend/XendConfig.py

index eb868e7b292e40e31be7860d8e743057ea46f948..0773fa5e574ce431f2dd0b8f49b2d6ff346f3ab9 100644 (file)
@@ -1032,8 +1032,6 @@ class XendConfig(dict):
                     sxpr.append([name, s])
 
         for xenapi, legacy in XENAPI_CFG_TO_LEGACY_CFG.items():
-            if legacy in ('cpus'): # skip this
-                continue
             if self.has_key(xenapi) and self[xenapi] not in (None, []):
                 if type(self[xenapi]) == bool:
                     # convert booleans to ints before making an sxp item